package com.dinglian.ots.vo.product;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wangbo
 */
@Data
public class AddProductVo {

    @NotNull(message = "品牌ID不能为空")
    private Integer brandId;

    @NotBlank(message = "Line Sheet名称不能为空")
    private String name;

    @NotBlank(message = "款式名称不能为空")
    private String title;

    @NotNull(message = "订货季ID不能为空")
    private Integer seasonId;

    @NotBlank(message = "款式编码不能为空")
    private String stylename;

    @NotNull(message = "一级品类不能为空")
    private Integer categoryId;

    private Integer subcategoryId;

    @NotNull(message = "颜色ID不能为空")
    private Integer colorId;

    private String fabrication;

    @NotBlank(message = "材质不能为空")
    private String materials;

    private String description;

    @NotBlank(message = "尺码不能为空")
    private String sizeList;

    @NotBlank(message = "建议零售价不能为空")
    private String sellingPrice;

    @NotBlank(message = "订货价不能为空")
    private String costPrice;

    private String markDown;

    private String markUp;

    private String discount;

    private String units;

    private String bulk;

    private Integer styleMinimum;

    private Integer colorMinimum;

    @NotNull(message = "缩略图不能为空")
    private MultipartFile thumbnail;

    @NotNull(message = "白底图不能为空")
    private MultipartFile whitePic;

    @NotNull(message = "详情图不能为空")
    private MultipartFile[] details;

}
